<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%--
		 编辑项目宣传页面HTML窗口
 --%>
 
<link href="${basePath}/css/plugins/summernote/summernote.css" rel="stylesheet">
 <link href="${basePath}/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
 
 
<div class="modal inmodal fade in" id="modifyProjectPageHtmlWin" tabindex="-1" role="dialog" aria-hidden="true" >
    <input type="hidden" class="id" name="id">
	<div class="modal-dialog modal-lg" style="width: 90%;">
		<div class="modal-content" >
			<div class="modal-header">
				<h4 class="modal-title">编辑宣传页面</h4>
			</div>
			<div class="modal-body" style="font-weight: bold;font-size: 14px;">
			
						                      			                      
				<div class="form-group">
			            <label class="col-sm-2 control-label">宣传页标题</label>
			             <div class="col-sm-6">
			                     <input type="text" class="form-control pageTitle " name="pageTitle"  placeholder="请输入宣传页标题">
			                     <br/><br/>
			             </div>
			     </div>	
			
				  <div class="ibox float-e-margins">
				          <div class="pageHtml">
				           </div>
				   </div>
			</div>	
			<div class="modal-footer">
				<button type="button" class="btn btn-primary" onclick="modifyProjectPageHtml();">修改</button>
				<button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
			</div>
		</div>
	</div>
</div>

<form action="" method="post" id="modifyProject">
   <input type="hidden" id="p" name="p" value="merchantManage"> 
   <input type="hidden" id="m" name="m" value="modifyProjectPageHtml"> 
   <input type="hidden" id="mobile" name="mobile" value="true"> 
   <input type="hidden" id="id"  name="id"> 
   <input type="hidden" id="pageHtml" name="pageHtml"> 
   <input type="hidden" id="pageTitle" name="pageTitle"> 
</form>



    <!-- SUMMERNOTE -->
    <script src="${basePath}/js/plugins/summernote/summernote.min.js"></script>
    <script src="${basePath}/js/plugins/summernote/summernote-zh-CN.js"></script>

    <script>
        //$(document).ready(function(){$(".summernote").summernote({lang:"zh-CN"})});var edit=function(){$("#eg").addClass("no-padding");$(".click2edit").summernote({lang:"zh-CN",focus:true})};var save=function(){$("#eg").removeClass("no-padding");var a=$(".click2edit").code();$(".click2edit").destroy()};
    </script>